package net.awpspace.mp3player.entity;

import java.util.Vector;

public class Playlist {
	private String name;
	private Vector list;
	public Playlist(String name, Vector list) {
		super();
		this.name = name;
		this.list = list;
	}
	public Playlist(String name) {
		super();
		this.name = name;
		list = new Vector();
	}
	
	public void add_to_list(Mp3File file){
		list.addElement(file);
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Vector getList() {
		return list;
	}
	public void setList(Vector list) {
		this.list = list;
	}
	
	
}
